package com;

import java.util.function.Function;

class Sister{

}
class Mother{
    Sister sister;
    String name;
    public Mother(Sister sister) {
        this.sister = sister;
        this.name = "花姑姑 ";
    }
}
class FuntionThree {
    public static void main(String[] args) {
      Function<Sister,Mother> function = f ->new Mother(f);
      Mother mother = function.apply(new Sister());
        System.out.println(mother.name);
    }
}
